package com.parenting.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 店铺评价
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-09-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("evaluation")
@ApiModel(value="EvaluationDO对象", description="店铺评价")
public class EvaluationDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "evaluation_id", type = IdType.ASSIGN_UUID)
    private String evaluationId;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "店铺ID")
    private String shopId;

    @ApiModelProperty(value = "评价人ID")
    private String userId;

    @ApiModelProperty(value = "评价人姓名")
    private String userName;

    @ApiModelProperty(value = "评价人头像")
    private String userHeadUrl;

    @ApiModelProperty(value = "评价内容")
    private String content;

    @ApiModelProperty(value = "图片")
    private String imageUrl;

    @ApiModelProperty(value = "视频")
    private String videoUrl;

    @ApiModelProperty(value = "是否回复;1未回复、2已回复")
    private Integer state;

    @ApiModelProperty(value = "红心数量")
    private Integer fabulous;

    @ApiModelProperty(value = "评分")
    private Integer score;

    @ApiModelProperty(value = "标签")
    private String labe;

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
